/**   
* @Title: Property.java
* @Package cn.edu.sjtu.se.dslab.component.dp.parse
* @Description: TODO(用一句话描述该文件做什么)
* @author Thinker
* @date 2013-7-26 下午9:27:44
* @version V1.0
*/ 
package cn.edu.sjtu.se.dslab.component.dp.parse;

/** 
 * @ClassName: Property
 * @Description: 设计模式中的每一个元素
 * @author longshaohang
 * @date 2013-7-26 下午9:27:44
 * 
 */
public class Property implements Cloneable {
	//the name of the "name" attribute
	static final String NAME_ATTR = "name";
	//the name of the <property-label> label
	static final String PROPERTY_LABEL = "property-label";
	//the name of the <value-type> label
	static final String VALUE_TYPE = "value-type";
	//the name of the <value> label
	static final String VALUE = "value";
	
	
	private String name;
	private String label;
	private String type;
	//
	private String value;

	public Property(){
		
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getLabel() {
		return label;
	}
	public void setLabel(String label) {
		this.label = label;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	
	
	
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	@Override
	public Object clone() {
		Property p = null;
		try{
			p = (Property)super.clone();
		}catch(CloneNotSupportedException ex){
			ex.printStackTrace();
		}
		return p;
	}
	
	
	
}
